<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .popup {
            padding: 24px 24px 24px 0;
            display: none;
        }
    </style>
    <link rel="stylesheet" href="./layUI/css/layui.css">
</head>
<body>
    <button id="add" type="button" class="layui-btn layui-btn-normal">添加分类</button>
    <table class="layui-table">
        <colgroup>
            <col width="150">
            <col width="200">
            <col>
        </colgroup>
        <thead>
            <tr>
                <th>序号</th>
                <th>分类名称</th>
                <th>分类别名</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            <!-- <tr>
                <td>贤心</td>
                <td>2016-11-29</td>
                <td>人生就像是一场修行</td>
                <td>
                    <button type="button" class="layui-btn layui-btn-xs">编辑</button>
                    <button type="button" class="layui-btn layui-btn-danger layui-btn-xs">删除</button>
                </td>
            </tr> -->
        </tbody>
    </table>

    <div class="popup">
        <form class="layui-form" action="">
            <div class="layui-form-item">
                <label class="layui-form-label popup-inp-label">分类名称</label>
                <div class="layui-input-block">
                    <input id="name" type="text" name="cate_name" required lay-verify="required" placeholder="请输入标题" autocomplete="off"
                        class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label popup-inp-label">分类别名</label>
                <div class="layui-input-block">
                    <input  id="alias" type="text" name="cate_alias" required lay-verify="required" placeholder="请输入标题" autocomplete="off"
                        class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-submit lay-filter="ok">立即提交</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>
        </form>
    </div>
    <script src="./layUI/layui.js"></script>
    <script src="./lib/jQuery.min.js"></script>
    <script src="./lib/layerjs/layer.js"></script>
    <script src="./lib/axios.min.js"></script>
    <script type="module" src="./js/article-type.js"></script>
</body>
</html>